package com.xian.cloud.api;

import com.xian.cloud.controller.TestController;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: xlr
 * @Date: Created in 6:05 PM 2019/8/23
 */
@FeignClient(TestController.URL_SERVER)
public interface Client {

    @GetMapping("/hello")
    String hello(@RequestParam(name = "name") String name);
}
